class PhotoFrame extends Product {
    BigDecimal length
    BigDecimal width

    BigDecimal getTotalPrice(){
        return 2*(length+width)*currentPrice
    }

    static transients = ['totalPrice']

    String toString(){
        return "$productCategory--$name"
    }

}
